package cloudEntity.dto.dorm;

import cloudEntity.enumation.DormFloorEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @program: Smart School
 * @ClassName SmartDormFloorInsertVO
 * @description:
 * @author: 陈智博
 * @create: 2025-05-22 08:10
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SmartDormFloorInsertDTO implements Serializable {

    private String sysDormFloorDutyPersonUid;
    private String sysDormFloorDutyPersonName;
    private String sysDormFloorDutyAreaName;
    private String sysDormFloorAreaType;

    public void setSysDormFloorAreaType(Integer sysDormFloorAreaType) {
        this.sysDormFloorAreaType = DormFloorEnum.getDescriptionByValue(sysDormFloorAreaType);
    }

}
